using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace Garlic.DM.DataModel
{

    /// <summary>
    /// AuthInfo
    /// </summary>
    public partial class AuthInfo : BaseInfo
	{
		protected int _role_id;
		protected string _resource_type = String.Empty;
		protected string _resource_name = String.Empty;
		protected int _resource_id;
		
		public AuthInfo(int role_id,
string resource_type,
string resource_name,
int resource_id
		)
		{
		   _role_id=role_id;
		   _resource_type=resource_type;
		   _resource_name=resource_name;
		   _resource_id=resource_id;
		}
		
		public AuthInfo()
		{
		}
		
		
		public int Role_id
		{
			get {return _role_id;}
			set {_role_id = value;}
		}

		public string Resource_type
		{
			get {return _resource_type;}
			set {_resource_type = value;}
		}

		public string Resource_name
		{
			get {return _resource_name;}
			set {_resource_name = value;}
		}

		public int Resource_id
		{
			get {return _resource_id;}
			set {_resource_id = value;}
		}

		
	}

}
